.header {
    width: 100%;
    height: 50px;
    background-color: #cccccc;
    flex-direction: row;
    box-shadow: 1px 1px 7px #999;
}

.logo {
    width: 240px;
    font-size: 20px;
    align-items: center;
    justify-content: center;
}


body div a {
    color: #ffffff;
}


.navul li {
    margin-right: 1px;
    width: 100px;
    height: 50px;
    position: relative; /*子菜单隐藏*/
    text-align: center;
    line-height: 50px;
    font-size: 16px;
}

ul ul {
    display: none; /*当鼠标移入菜单时，显示子菜单*/
}

 /*父菜单要使用position定位（非static），子菜单使用absolute绝对定位时就相对父菜单设置位置，会呈现下拉菜单与父菜单对齐效果。*/

.dropdown:hover ul {  
    position: absolute;  
    display: block;  
    margin-left: -1px;  
    top: 50px;  
    left: 1px;  
    z-index: 9;  
    /*padding : 9px 15px 10px 15px;  */
    background: yellowgreen;
} 

/*
.subnav{
    display: none;
    position: absolute;
    z-index: 10000;
    top: 43px;
    left: -1px;
    background: #021C51;
    border-bottom: none;
    text-align: center;
}
*/

.navul li ul li {
    display: block;
    width: 120px;
    float: none;
    height: 45px;
    position: relative;
    line-height: 45px;
    border-bottom: #3D82F3 1px solid;
    font-size: 12px;
    text-align: center;
}

.container {
    flex-direction: row;
}

.leftbar {
    width: 240px;
    border-right: 1px solid #C8C7;
    padding: 10px;
    flex-direction: column;
    align-items: center;
}

.avatar {
    width: 100px;
    height: 100px;
}

.leftbar span {
    font-size: 20px;
    margin: 5px auto;
}

.mainbody {
    flex-grow: 1;
    flex-direction: column;
}

.messge {
    width: 100%;
    height: 100px;
    border-bottom: 1px solid #C8C7;
}

.tip {
    width: 500px;
}

.tip p {
    font-size: 16px;
    font-family: sans-serif;
    margin: 5px 30px;
}

.adv {
    flex-grow: 1;
    margin: 20px 0px 20px 150px;
    align-items: center;
    background-color:blanchedalmond;
}

.adv p {
    width: 400px;
    font-size: 16px;
}

.show {
    padding: 100px 150px;
}
